package com.dynamicallo.ty.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Scope("prototype")
@Controller
@RequestMapping("index")
public class IndexController {
    @RequestMapping("toContent")
    public String toIndexContent(HttpServletRequest request,Model model){
        
        return "redirect:/content/showContent";
    }
    @RequestMapping("toAction")
    public String toIndexAction(HttpServletRequest request,Model model){
        
        return "action/showAction";
    }
    
}
